<ion-view view-title="中诚联征信报告">
	<ion-content>
		<div style="width: 100%;border-bottom: 1px solid #EFEFF4;">
			<div style="width: 90%;margin: 0 auto;">
				<div style="height: 10px;"></div>
				<div class="button-bar" ng-if="curPage==1">
					<div style="border-bottom: 1px solid #0c60ee;color: #0c60ee;font-size: 16px;min-height: 30px;height: 30px;line-height: 30px;background-color: white;float: left;width: 33.33%;text-align: center;" ng-click="changePage(1)">个人资料</div>
					<div style="background-color: white;color: #888888;min-height: 30px;height: 30px;line-height: 30px;float: left;width: 33.33%;text-align: center;" ng-click="changePage(2)">贷款负债</div>
					<div style="background-color: white;color: #888888;min-height: 30px;height: 30px;line-height: 30px;float: left;width: 33.33%;text-align: center;" ng-click="changePage(3)">投资理财</div>
				</div>
				<div class="button-bar" ng-if="curPage==2">
					<div style="color: #888888;font-size: 16px;min-height: 30px;height: 30px;line-height: 30px;background-color: white;float: left;width: 33.33%;text-align: center;" ng-click="changePage(1)">个人资料</div>
					<div style="border-bottom: 1px solid #0c60ee;background-color: white;color: #0c60ee;min-height: 30px;height: 30px;line-height: 30px;float: left;width: 33.33%;text-align: center;" ng-click="changePage(2)">贷款负债</div>
					<div style="background-color: white;color: #888888;min-height: 30px;height: 30px;line-height: 30px;float: left;width: 33.33%;text-align: center;" ng-click="changePage(3)">投资理财</div>
				</div>
				<div class="button-bar" ng-if="curPage==3">
					<div style="color: #888888;font-size: 16px;min-height: 30px;height: 30px;line-height: 30px;background-color: white;float: left;width: 33.33%;text-align: center;" ng-click="changePage(1)">个人资料</div>
					<div style="background-color: white;color: #888888;min-height: 30px;height: 30px;line-height: 30px;float: left;width: 33.33%;text-align: center;" ng-click="changePage(2)">贷款负债</div>
					<div style="border-bottom: 1px solid #0c60ee;background-color: white;color: #0c60ee;min-height: 30px;height: 30px;line-height: 30px;float: left;width: 33.33%;text-align: center;" ng-click="changePage(3)">投资理财</div>
				</div>
			</div>
		</div>

		<div ng-if="curPage==1">
			<div style="height: 30px;"></div>
			<div style="width: 33.33%;float: left;text-align: center;height: 100px;" ng-repeat="map in zlMap">
				<div  ng-click="searchConfirm(map)">
				<img ng-src="/img/icon/{{map.pic}}" ng-if="map.status==1" width="30" />
				<img ng-src="/img/unicon/{{map.pic}}" ng-if="map.status==0" width="30" /><br/>
				<div style="font-size:13px;">
					<font ng-if="map.key=='getAge'">{{map.sex}}</font>
					<font ng-if="map.key!='getAge'">{{map.name}}<font ng-if="map.key=='saveJuHeMno'&&map.status==1">></font></font>
					<span ng-if="map.key=='getAge'&&map.status==1">&nbsp;{{map.age | number:0}}岁</span>
					<span ng-if="map.key=='getCreditValue'&&map.status==1">：{{map.creditValue | number:0}}</span>
					<span ng-if="map.key=='getCertificateInfo'&&map.status==1">：{{map.rname||''}}</span>
					<span ng-if="map.key=='saveJuHeZmxy'&&map.status==1">：{{map.zmxyScore | number:0}}</span>
					<span ng-if="map.key=='saveJuHeMarrage'&&map.status==1">：{{map.marrageStatus}}</span>
					<span style="margin-left:4px;text-align:center;font-size:10px;display: block;color: #aaaaaa;" ng-if="map.key=='saveJuHeMno'&&map.status==1">{{map.mnoTime}}</span>
					<span style="margin-left:4px;text-align:center;font-size:10px;display: block;color: #aaaaaa;" ng-if="map.key=='getCertificateInfo'&&map.status==1">{{map.cn}}</span>
					<font ng-if="map.status==1&&(map.key=='saveJuHeTaoBao'||map.key=='saveJuHeJingDongFirst'||map.key=='saveJuHeBankCard'||map.key=='saveJuHeMnoAccountFirst'||map.key=='saveJuHeSecurityFirst'||map.key=='saveJuHeFundFirst'||map.key=='saveJuHeRegister'||map.key=='saveJuHeFly'||map.key=='saveJuHeProfession'||map.key=='saveJuHeDegree')">></font>
				</div>
				</div>
			</div>
		</div>
		
		<div ng-if="curPage==2">
			<div style="font-size: 13px;height: 40px;line-height: 40px;padding-left: 15px;color:black;background-color: #F7F7F7;">信用Bank贷款情况</div>
			<div>
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">名称</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">金额</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">笔数</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">总借款</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userInfo.allLoanMoney | number:0}}</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userInfo.allLoanCount}}</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">当前借款</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userInfo.nowLoanMoney | number:0}}</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userInfo.nowLoanCount}}</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">当前逾期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
						<span ng-if="userInfo.nowBreakMoney==null||userInfo.nowBreakMoney==''">0</span>
	  					<span ng-if="userInfo.nowBreakMoney!=null&&userInfo.nowBreakMoney!=''">{{userInfo.nowBreakMoney | number:0}}</span>
					</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userInfo.nowBreakCount}}</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">大于5天逾期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
						{{userInfo.break15Money | number:0}}
					</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userInfo.break15Count}}</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">总逾期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
						<span ng-if="userInfo.allBreakMoney==null||userInfo.allBreakMoney==''">0</span>
  						<span ng-if="userInfo.allBreakMoney!=null&&userInfo.allBreakMoney!=''">{{userInfo.allBreakMoney | number:0}}</span>
					</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userInfo.allBreakCount}}</div>
				</div>
				
			</div>
			
			<div style="font-size: 13px;height: 40px;line-height: 40px;padding-left: 15px;color:black;background-color: #F7F7F7;">自金融贷款情况</div>
			<div>
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">名称</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">金额</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">笔数</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">总借款</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userZjrInfo.allLoanMoney | number:0}}</div>
					<a href="#/tab/myProduceList2?uid={{userInfo.userId}}" style="text-decoration:none;"><div style="color: blue;width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4; background:url('../img/icon/icon-right.png') no-repeat  95% center;background-size:6%;">{{userZjrInfo.allLoanCount}}</div></a>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">当前借款</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userZjrInfo.nowLoanMoney | number:0}}</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userZjrInfo.nowLoanCount}}</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">当前逾期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
						<span ng-if="userZjrInfo.nowBreakMoney==null||userZjrInfo.nowBreakMoney==''">0</span>
	  					<span ng-if="userZjrInfo.nowBreakMoney!=null&&userZjrInfo.nowBreakMoney!=''">{{userZjrInfo.nowBreakMoney | number:0}}</span>
					</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userZjrInfo.nowBreakCount}}</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">大于5天逾期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
						{{userZjrInfo.break15Money | number:0}}
					</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userZjrInfo.break15Count}}</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">总逾期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
						<span ng-if="userZjrInfo.allBreakMoney==null||userZjrInfo.allBreakMoney==''">0</span>
  						<span ng-if="userZjrInfo.allBreakMoney!=null&&userZjrInfo.allBreakMoney!=''">{{userZjrInfo.allBreakMoney | number:0}}</span>
					</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userZjrInfo.allBreakCount}}</div>
				</div>
				
			</div>
			
			<div style="height: 10px;"></div>
			
		</div>
		
			<div ng-if="curPage==3">
						<div style="font-size: 13px;height: 40px;line-height: 40px;padding-left: 15px;color:black;background-color: #F7F7F7;">自金融情况</div>
			<div>
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">名称</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">金额</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">笔数</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">总投资</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userZjrInfo.info.sumLoan | number}}</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userZjrInfo.info.countLoan | number}}</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">当前投资</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userZjrInfo.info.sumLoanNow | number:0}}</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userZjrInfo.info.countLoanNow | number:0}}</div>
				</div>
				
				<div style="height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">收益</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
	  					{{userZjrInfo.info.sumIncome | number}}
					</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{userZjrInfo.info.countIncome | number}}</div>
				</div>
			</div>
			<!--诚信宝-->
			<div style="font-size: 13px;height: 40px;line-height: 40px;padding-left: 15px;color:black;background-color: #F7F7F7;">诚信宝情况</div>
			<div>
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">名称</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">金额</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">笔数</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">月月赚 3 期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{yxData.yyz3M | number}}</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{yxData.yyz3C | number}}</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">月月赚 2 期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{yxData.yyz2M | number}}</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">{{yxData.yyz2C | number}}</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">季度红 3 期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
					{{yxData.jdh3M | number}}
					</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
					{{yxData.jdh3C | number}}
					</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">双季盈 2 期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
						{{yxData.sjy2M | number}}
					</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
						{{yxData.sjy2C | number}}
					</div>
				</div>
				
				<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">三季丰 2 期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
						{{yxData.sjf2M | number}}
					</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
						{{yxData.sjf2C | number}}
					</div>
				</div>
				
						<div style="border-bottom: 1px solid #EFEFF4;height: 40px;">
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;">四季财 2 期</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
					{{yxData.sjc2M | number}}
					</div>
					<div style="width: 33.33%;float: left;text-align: center;height: 40px;line-height: 40px;border-left: 1px solid #EFEFF4;">
						{{yxData.sjc2C | number}}
					</div>
				</div>
				
			</div>
			
		</div>

	</ion-content>
</ion-view>